package com.cjh.service;

import com.cjh.entity.HtmlPage;
import com.dajiangtai.djt_spider.util.PageDownLoadUtil;

public class PageDownloadService {
	public HtmlPage  down(String url){
		HtmlPage page=new HtmlPage();
		String content=PageDownLoadUtil.getPageContent(url);
		page.setUrl(url);
		page.setContent(content);
		return page;
	}
}
